﻿<%@ Page Title="" Language="VB" MasterPageFile="~/Prototype.master" AutoEventWireup="false" CodeFile="ArticlesByTag.aspx.vb" Inherits="Articles_ArticlesByTag" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<fieldset> 
<legend> Article Tags</legend>

    <asp:GridView ID="DGArticleTags" runat="server" AutoGenerateColumns="False" 
        DataSourceID="DSArticleTags">
        <Columns>
            <asp:BoundField DataField="Title" HeaderText="Title" SortExpression="Title" />
            <asp:BoundField DataField="Tag" HeaderText="Tag" SortExpression="Tag" />
        </Columns>
    </asp:GridView>
    <asp:SqlDataSource ID="DSArticleTags" runat="server" 
        ConnectionString="<%$ ConnectionStrings:myFirstDatabase %>" 
        ProviderName="<%$ ConnectionStrings:myFirstDatabase.ProviderName %>" 
        SelectCommand="SELECT * FROM [QArticleTagView]"></asp:SqlDataSource>
        </fieldset>
</asp:Content>

